package com.ding.email.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author dingfeng
 * @version 1.0
 * @dec 邮件调度
 * @date 2022-03-29 20:07
 */
@Configuration
@EnableScheduling
public class EmailScheduleTask {

//    @Autowired
//    private EmailSendHelper emailSendHelper;
//
//    @Scheduled(cron = "0/5 * * * * ?")
//    private void configureTasks() {
//        String to = "dingfeng@ygsoft.com";
//        emailSendHelper.sendTemplateMail(to, "基于模板的html邮件", "hello.html");
//    }
}
